@layout("/common/_container.html"){
<div class="layui-card">
    <div class="layui-card-body">
        <div class="layui-form form-board" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">

            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">分类名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="categoryName" id="categoryName" lay-verify="required"
                               autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">分类描述</label>
                    <div class="layui-input-block">
                        <input type="text" name="categoryDesc" id="categoryDesc" lay-verify="required"
                               autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item layui-hide">
                <input type="button" lay-submit lay-filter="category-submit" id="category-submit" value="确认">
            </div>
        </div>
    </div>
</div>


<script>
  layui.config({
	 base: Feng.ctxPath + '/static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form','laydate'], function(){
    var $ = layui.$
    ,form = layui.form
    ,laydate = layui.laydate;
  })
  </script>
@}
